<!DOCTYPE html>
<html>
  <head>
    <title><%= title %></title>
    <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,minimal-ui">
    <style>
      tr{height:40px;}
      .wd{background-color: red;height:35px;line-height: 35px;text-align: center;width: 60px;}
      .yd{background-color: green;height:35px;line-height: 35px;text-align: center;width: 60px;}
    </style>
  </head>
  <body>
    <script type="text/javascript">
      if (localStorage.pagecount)
        {
          localStorage.pagecount=Number(localStorage.pagecount) +1;
        }
      else
        {
          localStorage.pagecount=1;
        }
      document.write("Visits "+ localStorage.pagecount + " time(s).");

      </script>
    <input type="button" onClick="initTable();" value="重新开始" />
    <table style="width:100%;" id="dataTable">
   <tr>
    <td class="xl22" >昵称</td>
    <td class="xl22" >姓名</td>
    <td class="xl22">手机</td>
    <td>操作</td>
  </tr>
   <tr>
    <td class="xl23">TT</td>
    <td class="xl23">张小婷</td>
    <td class="xl23">15868448706</td>
   <td style="width:40px;" onClick="saveTable(this);"><div class="wd">未到</div></td></tr>
   <tr>
    <td class="xl23">黄睿</td>
    <td class="xl23">黄睿</td>
    <td class="xl23">18605511456</td>
   <td style="width:40px;" onClick="saveTable(this);"><div class="wd">未到</div></td></tr>
   <tr>
    <td>陌上花</td>
    <td><font class="font0">杨珍</font></td>
    <td>13685766360</td>
   <td style="width:40px;" onClick="saveTable(this);"><div class="wd">未到</div></td></tr>
   <tr>
    <td>花花</td>
    <td>戴鞠萍</td>
    <td>13867153010</td>
   <td style="width:40px;" onClick="saveTable(this);"><div class="wd">未到</div></td></tr>
   <tr>
    <td>汤</td>
    <td><font class="font0">汤志浩</font></td>
    <td>13600544705</td>
   <td style="width:40px;" onClick="saveTable(this);"><div class="wd">未到</div></td></tr>
   <tr>
    <td>八吊</td>
    <td><font class="font0">金奇</font></td>
    <td>15988856150</td>
   <td style="width:40px;" onClick="saveTable(this);"><div class="wd">未到</div></td></tr>
   <tr>
    <td>之一</td>
    <td><font class="font0">余小莉</font></td>
    <td>15158119731</td>
   <td style="width:40px;" onClick="saveTable(this);"><div class="wd">未到</div></td></tr>
   <tr>
    <td>JuDy</td>
    <td><font class="font0">周芳</font></td>
    <td>13819118540</td>
   <td style="width:40px;" onClick="saveTable(this);"><div class="wd">未到</div></td></tr>
   <tr>
    <td>徐晓芳</td>
    <td><font class="font0">徐晓芳</font></td>
    <td>13735511270</td>
   <td style="width:40px;" onClick="saveTable(this);"><div class="wd">未到</div></td></tr>
   <tr>
    <td>赵晶</td>
    <td><font class="font0">赵晶</font></td>
    <td>18368013337</td>
   <td style="width:40px;" onClick="saveTable(this);"><div class="wd">未到</div></td></tr>
   <tr>
    <td>辉</td>
    <td><font class="font0">姜辉</font></td>
    <td>18868852113</td>
   <td style="width:40px;" onClick="saveTable(this);"><div class="wd">未到</div></td></tr>
   <tr>
    <td>那片心田</td>
    <td><font class="font0">连小清</font></td>
    <td>13429112999</td>
   <td style="width:40px;" onClick="saveTable(this);"><div class="wd">未到</div></td></tr>
   <tr>
    <td>阿昱</td>
    <td>王羽茜</td>
    <td>18268260990</td>
   <td style="width:40px;" onClick="saveTable(this);"><div class="wd">未到</div></td></tr>
   <tr>
    <td>铁板</td>
    <td>郎健</td>
    <td>18005828686</td>
   <td style="width:40px;" onClick="saveTable(this);"><div class="wd">未到</div></td></tr>
   <tr>
    <td>大蚊子</td>
    <td>周林</td>
    <td>18758191911</td>
   <td style="width:40px;" onClick="saveTable(this);"><div class="wd">未到</div></td></tr>
   <tr>
    <td></td>
    <td>李宇迁</td>
    <td>13750831740</td>
   <td style="width:40px;" onClick="saveTable(this);"><div class="wd">未到</div></td></tr>
   <tr>
    <td>陌宿</td>
    <td><font class="font0">汪震</font></td>
    <td>15924164688</td>
   <td style="width:40px;" onClick="saveTable(this);"><div class="wd">未到</div></td></tr>
   <tr>
    <td>fanamin</td>
    <td><font class="font0">范阿敏</font></td>
    <td>13777830585</td>
   <td style="width:40px;" onClick="saveTable(this);"><div class="wd">未到</div></td></tr>
   <tr>
    <td>潘瘦瘦</td>
    <td><font class="font0">潘瑞</font></td>
    <td>18329174133</td>
   <td style="width:40px;" onClick="saveTable(this);"><div class="wd">未到</div></td></tr>
   <tr>
    <td>惬意</td>
    <td>周文淑</td>
    <td>15858227025</td>
   <td style="width:40px;" onClick="saveTable(this);"><div class="wd">未到</div></td></tr>
   <tr>
    <td>Sailin</td>
    <td><font class="font0">王云华</font></td>
    <td>18067988590</td>
   <td style="width:40px;" onClick="saveTable(this);"><div class="wd">未到</div></td></tr>
   <tr>
    <td>张帆</td>
    <td><font class="font0">张帆</font></td>
    <td>18857877713</td>
   <td style="width:40px;" onClick="saveTable(this);"><div class="wd">未到</div></td></tr>
   <tr>
    <td>珠儿姑娘</td>
    <td><font class="font0">朱伟平</font></td>
    <td>18072721599</td>
   <td style="width:40px;" onClick="saveTable(this);"><div class="wd">未到</div></td></tr>
   <tr>
    <td>汪倩</td>
    <td><font class="font0">汪倩</font></td>
    <td>13735879211</td>
   <td style="width:40px;" onClick="saveTable(this);"><div class="wd">未到</div></td></tr>
   <tr>
    <td>乔</td>
    <td><font class="font0">乔杨琳</font></td>
    <td>13429161102</td>
   <td style="width:40px;" onClick="saveTable(this);"><div class="wd">未到</div></td></tr>
   <tr>
    <td>minttea</td>
    <td>胡玲玲</td>
    <td>13858123098</td>
   <td style="width:40px;" onClick="saveTable(this);"><div class="wd">未到</div></td></tr>
   <tr>
    <td>华华欢</td>
    <td><font class="font0">华华欢</font></td>
    <td>18758915529</td>
   <td style="width:40px;" onClick="saveTable(this);"><div class="wd">未到</div></td></tr>
   <tr>
    <td>繁体字</td>
    <td><font class="font0">刘银燕</font></td>
    <td>15868190070</td>
   <td style="width:40px;" onClick="saveTable(this);"><div class="wd">未到</div></td></tr>
   <tr>
    <td></td>
    <td><font class="font0">蒋高炜</font></td>
    <td>18767165058</td>
   <td style="width:40px;" onClick="saveTable(this);"><div class="wd">未到</div></td></tr>
   <tr>
    <td>郑志龙</td>
    <td><font class="font0">郑志龙</font></td>
    <td>13735817183</td>
   <td style="width:40px;" onClick="saveTable(this);"><div class="wd">未到</div></td></tr>
   <tr>
    <td>彪哥</td>
    <td><font class="font0">杨廷彪</font></td>
    <td>18006784840</td>
   <td style="width:40px;" onClick="saveTable(this);"><div class="wd">未到</div></td></tr>
   <tr>
    <td>加菲猫</td>
    <td><font class="font0">沈加飞</font></td>
    <td>18757158386</td>
   <td style="width:40px;" onClick="saveTable(this);"><div class="wd">未到</div></td></tr>
   <tr>
    <td>黑面琵鹭</td>
    <td><span style='mso-spacerun:yes;'>&nbsp;</span>马晓姣</td>
    <td>18957188710</td>
   <td style="width:40px;" onClick="saveTable(this);"><div class="wd">未到</div></td></tr>
   <tr>
    <td>朵朵</td>
    <td><font class="font0">许小英</font></td>
    <td>18806526716</td>
   <td style="width:40px;" onClick="saveTable(this);"><div class="wd">未到</div></td></tr>
   <tr>
    <td>楚立</td>
    <td><font class="font0">楚立</font></td>
    <td>15168215061</td>
   <td style="width:40px;" onClick="saveTable(this);"><div class="wd">未到</div></td></tr>
   <tr>
    <td></td>
    <td>付铁红</td>
    <td></td>
   <td style="width:40px;" onClick="saveTable(this);"><div class="wd">未到</div></td></tr>
   <tr>
    <td></td>
    <td>李艳</td>
    <td></td>
   <td style="width:40px;" onClick="saveTable(this);"><div class="wd">未到</div></td></tr>
   <tr>
    <td>苏扬</td>
    <td><font class="font0">苏扬</font></td>
    <td>18814883838</td>
   <td style="width:40px;" onClick="saveTable(this);"><div class="wd">未到</div></td></tr>
   <tr>
    <td>木头</td>
    <td><font class="font0">胡风顺</font></td>
    <td>18057168678</td>
   <td style="width:40px;" onClick="saveTable(this);"><div class="wd">未到</div></td></tr>
   <tr>
    <td><font class="font0">Y(^_^)Y</font><font class="font2">艺</font><font class="font0">???</font></td>
    <td><font class="font0">杨艺</font></td>
    <td>13575729993</td>
   <td style="width:40px;" onClick="saveTable(this);"><div class="wd">未到</div></td></tr>
   <tr>
    <td>张先生</td>
    <td><font class="font0">张翔</font></td>
    <td>13429147207</td>
   <td style="width:40px;" onClick="saveTable(this);"><div class="wd">未到</div></td></tr>
   <tr>
    <td>邹启晨</td>
    <td><font class="font0">邹启晨</font></td>
    <td>15868132512</td>
   <td style="width:40px;" onClick="saveTable(this);"><div class="wd">未到</div></td></tr>
   <tr>
    <td>颜色</td>
    <td>吴艳霞</td>
    <td>18657161106</td>
   <td style="width:40px;" onClick="saveTable(this);"><div class="wd">未到</div></td></tr>
   <tr>
    <td>堂前燕</td>
    <td><font class="font0">王群燕</font></td>
    <td>15957121590</td>
   <td style="width:40px;" onClick="saveTable(this);"><div class="wd">未到</div></td></tr>
   <tr>
    <td>师师</td>
    <td><font class="font0">王师师</font></td>
    <td>15869157459</td>
   <td style="width:40px;" onClick="saveTable(this);"><div class="wd">未到</div></td></tr>
   <tr>
    <td>小鱼儿</td>
    <td><font class="font0">王域</font></td>
    <td>18658161624</td>
   <td style="width:40px;" onClick="saveTable(this);"><div class="wd">未到</div></td></tr>
   <tr>
    <td>Ts/.</td>
    <td><font class="font0">吴飞</font></td>
    <td>15557114396</td>
   <td style="width:40px;" onClick="saveTable(this);"><div class="wd">未到</div></td></tr>
   <tr>
    <td></td>
    <td>褚灵秀</td>
    <td>18767181744</td>
   <td style="width:40px;" onClick="saveTable(this);"><div class="wd">未到</div></td></tr>
   <tr>
    <td></td>
    <td>张梦雄</td>
    <td></td>
   <td style="width:40px;" onClick="saveTable(this);"><div class="wd">未到</div></td></tr>
   <tr>
    <td>文文</td>
    <td>刘卫霞</td>
    <td>15958012610</td>
   <td style="width:40px;" onClick="saveTable(this);"><div class="wd">未到</div></td></tr>
   <tr>
    <td>咖啡</td>
    <td>林彬</td>
    <td>15258832526</td>
   <td style="width:40px;" onClick="saveTable(this);"><div class="wd">未到</div></td></tr>
  </table>
  <script>
    function initTable(){
      var r = confirm("确认将清除当前的状态?");
      if(r){
        localStorage.dataTable = "";
        window.location.reload();
      }
    }
    function saveTable(e){

       var checkObj = e.children[0];
       if(checkObj.className == 'wd'){
         e.innerHTML = '<div class="yd">已到</div>'
       }
       else{
         e.innerHTML = '<div class="wd">未到</div>';
       }
       localStorage.dataTable = document.getElementById("dataTable").innerHTML;
       //alert(document.getElementById("dataTable").innerHTML);
    }
    if(localStorage.dataTable &&  localStorage.dataTable != ""){
      //alert(localStorage.dataTable);
      document.getElementById("dataTable").innerHTML = localStorage.dataTable;
    }
  </script>
</body>
</html>
